home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / updates / update15.zoo / include / diffs next >
Encoding:
Text File  |  1992-02-04  |  14.8 KB  |  541 lines

  1. *** 1.35    1991/12/26 16:23:20
  2. --- PatchLev.h    1992/02/04 18:49:45
  3. ***************
  4. *** 1,7 ****
  5.   
  6. ! #define    PatchLevel "74"
  7.   
  8.   /*
  9.    *    the Patch Level above is to identify the version
  10.    *    of the all the files in this directory. given the above
  11.    *    number i can pull up the correct version of any individual
  12. --- 1,8 ----
  13.   
  14. ! #define    PatchLevel "75"
  15.   
  16.   /*
  17. +  *
  18.    *    the Patch Level above is to identify the version
  19.    *    of the all the files in this directory. given the above
  20.    *    number i can pull up the correct version of any individual
  21. *** 1.6    1991/07/09 23:15:17
  22. --- aesbind.h    1992/02/04 18:49:45
  23. ***************
  24. *** 125,132 ****
  25.                       char *Command, char *Tail));
  26.   __EXTERN int    shel_find __PROTO((char *buf));
  27.   __EXTERN int    shel_envrn __PROTO((char *result, char *param));
  28. ! __EXTERN int     shel_get __PROTO((char *Buf, int *Len));
  29. ! __EXTERN int     shel_put __PROTO((char *Buf, int *Len));
  30.   
  31.   __EXTERN int    wind_create __PROTO((int Parts, int Wx, int Wy, int Ww,
  32.                        int Wh)); 
  33. --- 125,132 ----
  34.                       char *Command, char *Tail));
  35.   __EXTERN int    shel_find __PROTO((char *buf));
  36.   __EXTERN int    shel_envrn __PROTO((char *result, char *param));
  37. ! __EXTERN int     shel_get __PROTO((char *Buf, int Len));
  38. ! __EXTERN int     shel_put __PROTO((char *Buf, int Len));
  39.   
  40.   __EXTERN int    wind_create __PROTO((int Parts, int Wx, int Wy, int Ww,
  41.                        int Wh)); 
  42. *** 1.9    1991/09/24 17:05:40
  43. --- ctype.h    1992/02/04 18:49:46
  44. ***************
  45. *** 13,19 ****
  46.   extern "C" {
  47.   #endif
  48.   
  49. ! extern    unsigned char    *_ctype;
  50.   
  51.   #define    _CTc    0x01        /* control character */
  52.   #define    _CTd    0x02        /* numeric digit */
  53. --- 13,19 ----
  54.   extern "C" {
  55.   #endif
  56.   
  57. ! extern    unsigned char    _ctype[];
  58.   
  59.   #define    _CTc    0x01        /* control character */
  60.   #define    _CTd    0x02        /* numeric digit */
  61. ***************
  62. *** 23,40 ****
  63.   #define    _CTp    0x20        /* punctuation */
  64.   #define    _CTx    0x40        /* hexadecimal */
  65.   
  66. ! #define    isalnum(c)    (_ctype[c]&(_CTu|_CTl|_CTd))
  67. ! #define    isalpha(c)    (_ctype[c]&(_CTu|_CTl))
  68.   #define    isascii(c)    !((c)&~0x7F)
  69. ! #define    iscntrl(c)    (_ctype[c]&_CTc)
  70. ! #define    isdigit(c)    (_ctype[c]&_CTd)
  71. ! #define    isgraph(c)    (!(_ctype[c]&(_CTc|_CTs)) && (_ctype[c]))
  72. ! #define    islower(c)    (_ctype[c]&_CTl)
  73. ! #define isprint(c)      (!(_ctype[c]&_CTc) && (_ctype[c]))
  74. ! #define    ispunct(c)    (_ctype[c]&_CTp)
  75. ! #define    isspace(c)    (_ctype[c]&_CTs)
  76. ! #define    isupper(c)    (_ctype[c]&_CTu)
  77. ! #define    isxdigit(c)    (_ctype[c]&_CTx)
  78.   #define iswhite(c)    isspace(c)
  79.   
  80.   #define    _toupper(c)    ((c)^0x20)
  81. --- 23,40 ----
  82.   #define    _CTp    0x20        /* punctuation */
  83.   #define    _CTx    0x40        /* hexadecimal */
  84.   
  85. ! #define    isalnum(c)    (_ctype[(unsigned char)(c)]&(_CTu|_CTl|_CTd))
  86. ! #define    isalpha(c)    (_ctype[(unsigned char)(c)]&(_CTu|_CTl))
  87.   #define    isascii(c)    !((c)&~0x7F)
  88. ! #define    iscntrl(c)    (_ctype[(unsigned char)(c)]&_CTc)
  89. ! #define    isdigit(c)    (_ctype[(unsigned char)(c)]&_CTd)
  90. ! #define    isgraph(c)    (!(_ctype[(unsigned char)(c)]&(_CTc|_CTs)) && (_ctype[(unsigned char)(c)]))
  91. ! #define    islower(c)    (_ctype[(unsigned char)(c)]&_CTl)
  92. ! #define isprint(c)      (!(_ctype[(unsigned char)(c)]&_CTc) && (_ctype[(unsigned char)(c)]))
  93. ! #define    ispunct(c)    (_ctype[(unsigned char)(c)]&_CTp)
  94. ! #define    isspace(c)    (_ctype[(unsigned char)(c)]&_CTs)
  95. ! #define    isupper(c)    (_ctype[(unsigned char)(c)]&_CTu)
  96. ! #define    isxdigit(c)    (_ctype[(unsigned char)(c)]&_CTx)
  97.   #define iswhite(c)    isspace(c)
  98.   
  99.   #define    _toupper(c)    ((c)^0x20)
  100. ***************
  101. *** 46,75 ****
  102.   
  103.   #if 0 /* do not define, these are routines in ctype.c as they should be */
  104.   #define    toupper(c) \
  105. !     ({typedef _tc = (c);  \
  106. !     _tc _c = (c);     \
  107.           islower(_c) ? (_c^0x20) : _c; })
  108.   #define    tolower(c)  \
  109. !     ({typedef _tc = (c);  \
  110. !         _tc _c = (c);     \
  111.           isupper(_c) ? (_c^0x20) : _c; })
  112.   #endif /* 0 */
  113.   
  114.   #define toint(c)    \
  115. !     ({typedef _tc = (c);  \
  116. !         _tc _c = (c);     \
  117.           (_c <= '9') ? (_c - '0') : (toupper(_c) - 'A'); })
  118.   #define isodigit(c) \
  119. !     ({typedef _tc = (c);   \
  120. !     _tc _c = (c);      \
  121.           (_c >='0') && (_c<='7'); })
  122.   #define iscymf(c)   \
  123. !     ({typedef _tc = (c);   \
  124. !     _tc _c = (c);      \
  125.           isalpha(_c) || (_c == '_'); })
  126.   #define iscym(c)    \
  127. !     ({typedef _tc = (c);   \
  128. !     _tc _c = (c);      \
  129.           isalnum(_c) || (_c == '_'); })
  130.   
  131.   #else /* you know what */
  132. --- 46,69 ----
  133.   
  134.   #if 0 /* do not define, these are routines in ctype.c as they should be */
  135.   #define    toupper(c) \
  136. !     ({typeof(c) _c = (c);     \
  137.           islower(_c) ? (_c^0x20) : _c; })
  138.   #define    tolower(c)  \
  139. !     ({typeof(c) _c = (c);     \
  140.           isupper(_c) ? (_c^0x20) : _c; })
  141.   #endif /* 0 */
  142.   
  143.   #define toint(c)    \
  144. !     ({typeof(c) _c = (c);     \
  145.           (_c <= '9') ? (_c - '0') : (toupper(_c) - 'A'); })
  146.   #define isodigit(c) \
  147. !     ({typeof(c) _c = (c);      \
  148.           (_c >='0') && (_c<='7'); })
  149.   #define iscymf(c)   \
  150. !     ({typeof(c) _c = (c);      \
  151.           isalpha(_c) || (_c == '_'); })
  152.   #define iscym(c)    \
  153. !     ({typeof(c) _c = (c);      \
  154.           isalnum(_c) || (_c == '_'); })
  155.   
  156.   #else /* you know what */
  157. *** 1.13    1991/09/24 17:05:40
  158. --- fcntl.h    1992/02/04 18:49:48
  159. ***************
  160. *** 67,73 ****
  161.   
  162.   /* defs for handle frob */
  163.   
  164. ! #define __NHANDLES    40
  165.   
  166.   #ifndef __MINT__
  167.   struct __open_file {
  168. --- 67,73 ----
  169.   
  170.   /* defs for handle frob */
  171.   
  172. ! #define __NHANDLES    80
  173.   
  174.   #ifndef __MINT__
  175.   struct __open_file {
  176. ***************
  177. *** 79,88 ****
  178.       char       *filename;    /* filename of open file */
  179.   };
  180.   
  181. - #ifndef __FHANDLE_C__
  182. - extern struct __open_file __open_stat[];
  183. - #endif
  184.   #else /* __MINT__ */
  185.   
  186.   struct __open_file {
  187. --- 79,84 ----
  188. ***************
  189. *** 90,98 ****
  190.           short   flags;          /* if a tty, its flags */
  191.   };
  192.   
  193. - extern struct __open_file __open_stat[__NHANDLES];
  194.   #endif /* __MINT */
  195.   
  196.     /* NOTE: this array is indexed by (__OPEN_INDEX(fd)) */
  197.   
  198.   /* smallest valid gemdos handle */
  199. --- 86,94 ----
  200.           short   flags;          /* if a tty, its flags */
  201.   };
  202.   
  203.   #endif /* __MINT */
  204.   
  205. + extern struct __open_file __open_stat[__NHANDLES];
  206.     /* NOTE: this array is indexed by (__OPEN_INDEX(fd)) */
  207.   
  208.   /* smallest valid gemdos handle */
  209. *** 1.4    1990/03/04 04:17:11
  210. --- float.h    1992/02/04 18:49:48
  211. ***************
  212. *** 52,58 ****
  213.      /* Maximum int x such that FLT_RADIX**(x-1) is a representable double */
  214.   #define DBL_MAX_EXP 1024
  215.      /* Maximum double */
  216. ! #define DBL_MAX 1.7976931348623157e+308
  217.      /* Maximum int x such that 10**x is a representable double */
  218.   #define DBL_MAX_10_EXP 308
  219.   
  220. --- 52,59 ----
  221.      /* Maximum int x such that FLT_RADIX**(x-1) is a representable double */
  222.   #define DBL_MAX_EXP 1024
  223.      /* Maximum double */
  224. ! /*#define DBL_MAX 1.7976931348623157e+308*/
  225. ! #define DBL_MAX 1.7976931348623158e+308
  226.      /* Maximum int x such that 10**x is a representable double */
  227.   #define DBL_MAX_10_EXP 308
  228.   
  229. ***************
  230. *** 71,77 ****
  231.      /* Maximum int x such that FLT_RADIX**(x-1) is a representable long double */
  232.   #define LDBL_MAX_EXP 1024
  233.      /* Maximum long double */
  234. ! #define LDBL_MAX 1.7976931348623157e+308L
  235.      /* Maximum int x such that 10**x is a representable long double */
  236.   #define LDBL_MAX_10_EXP 308
  237.   
  238. --- 72,79 ----
  239.      /* Maximum int x such that FLT_RADIX**(x-1) is a representable long double */
  240.   #define LDBL_MAX_EXP 1024
  241.      /* Maximum long double */
  242. ! /*#define LDBL_MAX 1.7976931348623157e+308L*/
  243. ! #define DBL_MAX 1.7976931348623158e+308
  244.      /* Maximum int x such that 10**x is a representable long double */
  245.   #define LDBL_MAX_10_EXP 308
  246.   
  247. *** 1.10    1991/07/23 22:17:23
  248. --- gemfast.h    1992/02/04 18:49:49
  249. ***************
  250. *** 465,479 ****
  251.   typedef struct rshdr
  252.   {
  253.       short        rsh_vrsn;
  254. !     short        rsh_object;
  255. !     short        rsh_tedinfo;
  256. !     short        rsh_iconblk;    /* list of ICONBLKS        */
  257. !     short        rsh_bitblk;
  258. !     short        rsh_frstr;    
  259. !     short        rsh_string;
  260. !     short        rsh_imdata;    /* image data            */
  261. !     short        rsh_frimg;    
  262. !     short        rsh_trindex;
  263.       short        rsh_nobs;    /* counts of various structs    */
  264.       short        rsh_ntree;
  265.       short        rsh_nted;
  266. --- 465,479 ----
  267.   typedef struct rshdr
  268.   {
  269.       short        rsh_vrsn;
  270. !     unsigned short    rsh_object;
  271. !     unsigned short    rsh_tedinfo;
  272. !     unsigned short    rsh_iconblk;    /* list of ICONBLKS        */
  273. !     unsigned short    rsh_bitblk;
  274. !     unsigned short    rsh_frstr;    
  275. !     unsigned short    rsh_string;
  276. !     unsigned short    rsh_imdata;    /* image data            */
  277. !     unsigned short    rsh_frimg;    
  278. !     unsigned short    rsh_trindex;
  279.       short        rsh_nobs;    /* counts of various structs    */
  280.       short        rsh_ntree;
  281.       short        rsh_nted;
  282. ***************
  283. *** 481,487 ****
  284.       short        rsh_nbb;
  285.       short        rsh_nstring;
  286.       short        rsh_nimages;
  287. !     short        rsh_rssize;    /* total bytes in resource    */
  288.   } RSHDR;
  289.   
  290.   #define DESKTOP_HANDLE 0
  291. --- 481,487 ----
  292.       short        rsh_nbb;
  293.       short        rsh_nstring;
  294.       short        rsh_nimages;
  295. !     unsigned short    rsh_rssize;    /* total bytes in resource    */
  296.   } RSHDR;
  297.   
  298.   #define DESKTOP_HANDLE 0
  299. *** 1.2    1991/06/11 23:10:46
  300. --- math-68881.h    1992/02/04 18:49:51
  301. ***************
  302. *** 152,158 ****
  303.           {
  304.             double value;
  305.   
  306. -           errno = EDOM;
  307.             __asm ("fmove%.d %#0rnan,%0"     /* quiet NaN */
  308.                : "=f" (value)
  309.                : /* no inputs */);
  310. --- 152,157 ----
  311. ***************
  312. *** 280,286 ****
  313.       {
  314.         double value;
  315.   
  316. -       errno = EDOM;
  317.         __asm ("fmove%.d %#0rnan,%0"        /* quiet NaN */
  318.            : "=f" (value)
  319.            : /* no inputs */);
  320. --- 279,284 ----
  321. ***************
  322. *** 307,313 ****
  323.           {
  324.         double value;
  325.   
  326. -       errno = EDOM;
  327.         __asm ("fmove%.d %#0rnan,%0"        /* quiet NaN */
  328.            : "=f" (value)
  329.            : /* no inputs */);
  330. --- 305,310 ----
  331. ***************
  332. *** 478,481 ****
  333.     *ip = temp;
  334.     return x - temp;
  335.   }
  336. --- 475,477 ----
  337. *** 1.23    1991/09/24 17:05:40
  338. --- osbind.h    1992/02/04 18:49:53
  339. ***************
  340. *** 1215,1313 ****
  341.          (long)trap_14_wwl((short)(0x2d),(short)(opcode),(long)(operand))
  342.   
  343.   
  344. ! /*
  345. !  * General OS specific codes here
  346. !  *
  347. !  */
  348. ! /* codes for Pexec */
  349. ! #define           PE_LOADGO           0           /* load & go */
  350. ! #define           PE_LOAD               3           /* just load */
  351. ! #define           PE_GO               4           /* just go */
  352. ! #define           PE_CBASEPAGE           5           /* just create basepage */
  353. ! /* Tos 1.4: like 4, but memory ownership changed to child, and freed
  354. !    on exit
  355. !  */
  356. ! #define           PE_GO_FREE           6           /* just go, then free */
  357. ! /* codes for file access */
  358. ! #define           FA_RDONLY           0x01
  359. ! #define           FA_HIDDEN           0x02
  360. ! #define           FA_SYSTEM           0x04
  361. ! #define           FA_LABEL               0x08
  362. ! #define           FA_DIR               0x10
  363. ! #define           FA_CHANGED           0x20
  364. ! /* struct used by Fsfirst/Fsnext */
  365. ! struct _dta {
  366. !     char        dta_buf[21];
  367. !     char        dta_attribute;
  368. !     unsigned short    dta_time;
  369. !     unsigned short    dta_date;
  370. !     long        dta_size;
  371. !     char        dta_name[14];
  372. ! };
  373. ! /* structure returned by Fdatime */
  374. ! typedef struct {
  375. !   short    time;
  376. !   short date;
  377. ! } _DOSTIME;
  378. ! /* device codes for Bconin/Bconout/Bcostat/Bconstat */
  379. ! #define _PRT    0
  380. ! #define _AUX    1
  381. ! #define _CON    2
  382. ! #define _MIDI    3
  383. ! #define _IKBD    4
  384. ! #define _RAWCON    5
  385. ! /* struct returned by Getbpb */
  386. ! typedef struct {
  387. !   short    recsiz;            /* bytes per sector */
  388. !   short    clsiz;            /* sectors per cluster */
  389. !   short clsizb;            /* bytes per cluster */
  390. !   short rdlen;            /* root directory size */
  391. !   short fsiz;            /* size of file allocation table */
  392. !   short fatrec;            /* startsector of second FAT */
  393. !   short datrec;            /* first data sector */
  394. !   short numcl;            /* total number of clusters */
  395. !   short bflags;            /* some flags */
  396. ! } _BPB;
  397. ! /* struct returned by Iorec */
  398. ! typedef struct {
  399. !     char    *ibuf;
  400. !     short    ibufsiz;
  401. !     short    ibufhd;
  402. !     short    ibuftl;
  403. !     short    ibuflow;
  404. !     short    ibufhi;
  405. ! } _IOREC;
  406. ! /* parameters for Cursconf */
  407. ! #define CURS_HIDE    0
  408. ! #define CURS_SHOW    1
  409. ! #define CURS_BLINK    2
  410. ! #define CURS_NOBLINK    3
  411. ! #define CURS_SETRATE    4
  412. ! #define CURS_GETRATE    5
  413. ! /* struct returned by Kbdvbase */
  414. ! typedef struct {
  415. !     void    (*midivec)(void);
  416. !     void    (*vkbderr)(void);
  417. !     void    (*vmiderr)(void);
  418. !     void    (*statvec)(void *);
  419. !     void    (*mousevec)(void *);
  420. !     void    (*clockvec)(void *);
  421. !     void    (*joyvec)(void *);
  422. !     long    (*midisys)(void);
  423. !     long    (*ikbdsys)(void);
  424. !     char    kbstate;
  425. ! } _KBDVECS;
  426.   
  427.   #if defined(__cplusplus)
  428.   }
  429. --- 1215,1223 ----
  430.          (long)trap_14_wwl((short)(0x2d),(short)(opcode),(long)(operand))
  431.   
  432.   
  433. ! #ifndef _OSTRUCT_H
  434. ! #include <ostruct.h>
  435. ! #endif
  436.   
  437.   #if defined(__cplusplus)
  438.   }
  439. *** 1.8    1991/06/20 02:21:30
  440. --- pwd.h    1992/02/04 18:49:54
  441. ***************
  442. *** 6,11 ****
  443. --- 6,15 ----
  444.   #include <compiler.h>
  445.   #endif
  446.   
  447. + #ifndef _TYPES_H
  448. + #include <types.h>
  449. + #endif
  450.   #if defined(__cplusplus)
  451.   extern "C" {
  452.   #endif
  453. ***************
  454. *** 13,20 ****
  455.   struct passwd {
  456.       char *pw_name;
  457.       char *pw_passwd;
  458. !     int pw_uid;
  459. !     int pw_gid;
  460.       char *pw_gecos;
  461.       char *pw_dir;
  462.       char *pw_shell;
  463. --- 17,24 ----
  464.   struct passwd {
  465.       char *pw_name;
  466.       char *pw_passwd;
  467. !     uid_t pw_uid;
  468. !     gid_t pw_gid;
  469.       char *pw_gecos;
  470.       char *pw_dir;
  471.       char *pw_shell;
  472. ***************
  473. *** 23,30 ****
  474.   #define pw_comment    pw_gecos
  475.   
  476.   __EXTERN struct passwd *getpwent __PROTO((void));
  477. ! __EXTERN struct passwd *getpwuid __PROTO((int));
  478. ! __EXTERN struct passwd *getpwnam __PROTO((char *));
  479.   
  480.   #ifndef _POSIX_SOURCE
  481.   __EXTERN void        setpwfile __PROTO((char *));
  482. --- 27,34 ----
  483.   #define pw_comment    pw_gecos
  484.   
  485.   __EXTERN struct passwd *getpwent __PROTO((void));
  486. ! __EXTERN struct passwd *getpwuid __PROTO((uid_t));
  487. ! __EXTERN struct passwd *getpwnam __PROTO((const char *));
  488.   
  489.   #ifndef _POSIX_SOURCE
  490.   __EXTERN void        setpwfile __PROTO((char *));
  491. *** 1.8    1991/12/26 16:23:20
  492. --- vdibind.h    1992/02/04 18:50:00
  493. ***************
  494. *** 70,76 ****
  495.   __EXTERN void     v_justified __PROTO((int handle, int x, int y, char *str,
  496.                         int len, int word_space, int char_space));
  497.   
  498. ! __EXTERN void     vsin_mode  __PROTO((int handle, int dev, int mode));
  499.   __EXTERN void     vrq_locator __PROTO((int handle, int x, int y, int *xout,
  500.                         int *yout, int *term));  
  501.   __EXTERN int     vsm_locator __PROTO((int handle, int x, int y, int *xout,
  502. --- 70,76 ----
  503.   __EXTERN void     v_justified __PROTO((int handle, int x, int y, char *str,
  504.                         int len, int word_space, int char_space));
  505.   
  506. ! __EXTERN int     vsin_mode  __PROTO((int handle, int dev, int mode));
  507.   __EXTERN void     vrq_locator __PROTO((int handle, int x, int y, int *xout,
  508.                         int *yout, int *term));  
  509.   __EXTERN int     vsm_locator __PROTO((int handle, int x, int y, int *xout,
  510. ***************
  511. *** 98,104 ****
  512.   
  513.   
  514.   __EXTERN void     vq_extnd __PROTO((int handle, int flag, int work_out[]));
  515. ! __EXTERN void     vq_color __PROTO((int handle, int index, int flag, int rgb[]));
  516.   __EXTERN void     vql_attribute __PROTO((int handle, int atrib[]));
  517.   __EXTERN void     vqm_attributes __PROTO((int handle, int atrib[]));
  518.   __EXTERN void     vqf_attributes __PROTO((int handle, int atrib[]));
  519. --- 98,104 ----
  520.   
  521.   
  522.   __EXTERN void     vq_extnd __PROTO((int handle, int flag, int work_out[]));
  523. ! __EXTERN int     vq_color __PROTO((int handle, int index, int flag, int rgb[]));
  524.   __EXTERN void     vql_attribute __PROTO((int handle, int atrib[]));
  525.   __EXTERN void     vqm_attributes __PROTO((int handle, int atrib[]));
  526.   __EXTERN void     vqf_attributes __PROTO((int handle, int atrib[]));
  527.